for cock in range(1,101):
    for hen in range(1,101):
        for chicken in range(3,101,3):
            if cock+hen+chicken == 100 and 5*cock+3*hen+chicken//3==100:
                print(cock,hen,chicken)